﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lisp.Compiler
{
    public abstract class Instruction<V>
    {
        private V _processor;

        protected Instruction() { }

        protected Instruction(V processor) { _processor = processor; }

        protected V Processor { get { return _processor; } }

        public bool Equals(V other)
        {
            return object.ReferenceEquals(Processor, other);
        }
    }
}
